/**
 * Created by IntelliJ IDEA.
 * User: Matija Mazi
 * Date: Dec 10, 2003
 * Time: 4:48:08 PM
 * 
 * (C) Genera Lynx, d.o.o.
 */

package com.generalynx.common.web.navigation;

import com.generalynx.common.web.module.Module;

public class TextItemRenderer implements IMenuItemRenderer {

    public String permittedItem(Module node) {
        return "<div class='module'>" + node.getLabel() + "</div>\n";
    }

    public String restrictedItem(Module node) {
        return null;
    }

    public String chosenItem(Module node) {
        return permittedItem(node);
    }
}
